<%-- 
    Document   : main2
    Created on : 2017-2-22, 11:54:51
    Author     : 52461
--%>

<%@page import="java.util.Map"%>
<%@page import="com.cxhd.pacs.DataConfig"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <title><%=DataConfig.getInstance().getConfig().get("systemName")%></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="${base}/css/font-awesome.css" rel="stylesheet">
        <link href="${base}/css/layui.css" rel="stylesheet">
        <link href="${base}/css/global.css" rel="stylesheet">
        <script type="text/javascript" src="${base}/js/onfire.js"></script>
        <script type="text/javascript" src="${base}/js/jquery-1.9.1.js"></script>
        <script type="text/javascript" src="${base}/js/layui.all.js"></script>
        <script type="text/javascript" src="${base}/js/datas/nav.js"></script>

        <script type="text/javascript" src="${base}/js/main.js"></script>
        <%
            String path = request.getContextPath();
            int port = request.getServerPort();
            String projectPath = request.getScheme() + "://" + request.getServerName() + ((port == 80 || port == 443) ? "" : (":" + port)) + path + "/";
        %>
        <style>
            .layui-side .layui-side-scroll ul li a cite{
                font-size: 18px;
                color: white
            }
            .layui-side .layui-side-scroll ul li {
                /*border-bottom: 1px #1AA094 solid*/
            }
            .layui-side .layui-side-scroll ul li a{
                font-size: 18px;
                padding-top: 10px;
                padding-bottom: 10px;
            }
        </style>
    </head>
    <body>
        <div class="layui-layout layui-layout-admin">
            <div class="layui-header header header-demo">
                <div class="layui-main">
                    <div class="admin-login-box">
                        <a class="logo" style="left: 0;" href="">
                            <img src="images/logo.jpg" /><span style="font-size: 22px;">远程会诊平台</span>
                        </a>
                        <div class="admin-side-toggle">
                            <i class="fa fa-bars" aria-hidden="true"></i>
                        </div>
                        <div class="admin-side-full">
                            <i class="fa fa-life-bouy" aria-hidden="true"></i>
                        </div>
                    </div>
                    <ul class="layui-nav admin-header-item">

                        <li class="layui-nav-item">
                            <a href="javascript:;" class="admin-header-user">
                                <!--                                <img src="images/0.jpg" />-->
                                <span><%=((Map)request.getSession().getAttribute("CX_JSESSION_USER")).get("ch_name")%></span>
                            </a>
                            <dl class="layui-nav-child">
                                <!--                                <dd>
                                                                    <a href="javascript:;"><i class="fa fa-user-circle" aria-hidden="true"></i> 个人信息</a>
                                                                </dd>
                                                                <dd>
                                                                    <a href="javascript:;"><i class="fa fa-gear" aria-hidden="true"></i> 设置</a>
                                                                </dd>
                                                                <dd id="lock">
                                                                    <a href="javascript:;">
                                                                        <i class="fa fa-lock" aria-hidden="true" style="padding-right: 3px;padding-left: 1px;"></i> 锁屏 (Alt+L)
                                                                    </a>
                                                                </dd>-->
                                <dd>
                                    <a href="<%=DataConfig.getInstance().getConfig().get("loginUrl")%>/sso/logout?service=<%=projectPath%>">
                                        <i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
                                </dd>
                            </dl>
                        </li>
                    </ul>
                    <ul class="layui-nav admin-header-item-mobile">
                        <li class="layui-nav-item">
                            <a href="<%=DataConfig.getInstance().getConfig().get("loginUrl")%>/sso/logout?service=<%=projectPath%>"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="layui-side layui-bg-black" id="admin-side">
                <div class="layui-side-scroll" style="font-size: 18px" id="admin-navbar-side" lay-filter="side"></div>
            </div>
            <div class="layui-body" style="bottom: 0;border-left: solid 2px #1AA094;" id="admin-body">
                <div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
                    <ul class="layui-tab-title" >
                        <li class="layui-this">
                            <i class="fa fa-dashboard" aria-hidden="true"></i>
                            <cite>主页</cite>
                        </li>
                    </ul>
                    <div class="layui-tab-content" style="min-height: 150px; padding: 5px 0 0 0;">
                        <div class="layui-tab-item layui-show" style="-webkit-overflow-scrolling: touch;overflow-y: scroll;  ">
                            <iframe src="patient?type=1"></iframe>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-footer footer footer-demo" id="admin-footer">
                <div class="layui-main">
                    <p>
                        <!--                        <a href="http://www.tronsystem.com/">www.tronsystem.com</a> -->
                        Copyright © 2015-2017 <%=DataConfig.getInstance().getConfig().get("systemName")%>. All rights reserved. 
                    </p>
                </div>
            </div>
            <div class="site-tree-mobile layui-hide">
                <i class="layui-icon">&#xe602;</i>
            </div>
            <div class="site-mobile-shade"></div>





        </div>
    </body>
</html>
<script>

    layui.use(['layer', 'tab'], function () {
        var $ = layui.jquery,
                layer = layui.layer;



    });

// 接收其他子页面需要添加的table
    function addNewTab(data) {
        console.log(data);
        onfire.fire('open_tab', data);
    }
</script>
